<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <div class="father">
        <div class="ll"> 123</div>
        <div class="son">要删除的</div>
    </div>
    <script>
        let ele = document.querySelector('.son')
        console.log('删除节点:', ele)
        let fa = ele.parentElement;//父级
        console.log('父级节点:', fa)
        fa.removeChild(fa.children[1])
    </script>
</body>

</html>